Why do I need to override the equals and hashCode methods in Java

welcome to shbcf.ru